package DataClass;

/**
 * DROP TABLE IF EXISTS Teacher;
 * CREATE TABLE Teacher (
 *     Tno CHAR(10) PRIMARY KEY,
 *     TTno CHAR(100),
 *     TEmail VARCHAR(32),
 *     TCName VARCHAR(32),
 *     TSex CHAR(3),
 *     JTno VARCHAR(9),
 *     TNation VARCHAR(16),
 *     TUnity VARCHAR(50),
 *     TEName VARCHAR(32),
 *     TQualification VARCHAR(15),
 *     TBir TIMESTAMP,
 *     TDuties VARCHAR(50),
 *     TTele VARCHAR(20),
 *     TMobile VARCHAR(16),
 *     TPic BYTEA,
 *     TRemark VARCHAR(200),
 *     TSituation CHAR(6),
 *     TEducation CHAR(6),
 *     TFirstDiscipline VARCHAR(100),
 *     TSceondDiscipline VARCHAR(100),
 *     TProfessionalAffiliations VARCHAR(100),
 *     TAdminPositionsCollege VARCHAR(100),
 *     TAcademicPositionsCollege VARCHAR(100),
 *     TPssword VARCHAR(32)
 * );
 */
public class Teacher {
    private String Tno;

    private String TCName;

    private String TSex;

    private String JTno;

    private String TQualification;

    private String TTno;

    private String TDuties;

    private String TSituation;

    private String TEducation;

    private String TFirstDiscipline;

    private String TSecondDiscipline;

    private String TProfessionalAffiliations;

    private String TAdminPositionsCollege;

    private String TAcademicPositionsCollege;

    private String TRemark;

    private String TPassword;

    public Teacher(String Tno, String TCName, String TSex, String JTno, String TQualification, String TTno,
                   String TDuties, String TSituation, String TEducation, String TFirstDiscipline,
                   String TSecondDiscipline, String TProfessionalAffiliations, String TAdminPositionsCollege,
                   String TAcademicPositionsCollege, String TRemark,String TPassword) {
        this.Tno = Tno;
        this.TCName = TCName;
        this.TSex = TSex;
        this.JTno = JTno;
        this.TQualification = TQualification;
        this.TTno = TTno;
        this.TDuties = TDuties;
        this.TSituation = TSituation;
        this.TEducation = TEducation;
        this.TFirstDiscipline = TFirstDiscipline;
        this.TSecondDiscipline = TSecondDiscipline;
        this.TProfessionalAffiliations = TProfessionalAffiliations;
        this.TAdminPositionsCollege = TAdminPositionsCollege;
        this.TAcademicPositionsCollege = TAcademicPositionsCollege;
        this.TRemark = TRemark;
        this.TPassword = TPassword;
    }

    public Teacher(){}
    // Getters
    public String getTno() {
        return Tno;
    }

    public String getTCName() {
        return TCName;
    }

    public String getTSex() {
        return TSex;
    }

    public String getJTno() {
        return JTno;
    }

    public String getTPassword(){return TPassword;}

    public String getTQualification() {
        return TQualification;
    }

    public String getTTno() {
        return TTno;
    }

    public String getTDuties() {
        return TDuties;
    }

    public String getTSituation() {
        return TSituation;
    }

    public String getTEducation() {
        return TEducation;
    }

    public String getTFirstDiscipline() {
        return TFirstDiscipline;
    }

    public String getTSecondDiscipline() {
        return TSecondDiscipline;
    }

    public String getTProfessionalAffiliations() {
        return TProfessionalAffiliations;
    }

    public String getTAdminPositionsCollege() {
        return TAdminPositionsCollege;
    }

    public String getTAcademicPositionsCollege() {
        return TAcademicPositionsCollege;
    }

    public String getTRemark() {
        return TRemark;
    }

    // Setters

    public void setTno(String Tno) {
        this.Tno = Tno;
    }

    public void setTCName(String TCName) {
        this.TCName = TCName;
    }

    public void setTSex(String TSex) {
        this.TSex = TSex;
    }

    public void setJTno(String JTno) {
        this.JTno = JTno;
    }

    public void setTQualification(String TQualification) {
        this.TQualification = TQualification;
    }

    public void setTTno(String TTno) {
        this.TTno = TTno;
    }

    public void setTDuties(String TDuties) {
        this.TDuties = TDuties;
    }

    public void setTSituation(String TSituation) {
        this.TSituation = TSituation;
    }

    public void setTEducation(String TEducation) {
        this.TEducation = TEducation;
    }

    public void setTFirstDiscipline(String TFirstDiscipline) {
        this.TFirstDiscipline = TFirstDiscipline;
    }

    public void setTSecondDiscipline(String TSecondDiscipline) {
        this.TSecondDiscipline = TSecondDiscipline;
    }

    public void setTProfessionalAffiliations(String TProfessionalAffiliations) {
        this.TProfessionalAffiliations = TProfessionalAffiliations;
    }

    public void setTAdminPositionsCollege(String TAdminPositionsCollege) {
        this.TAdminPositionsCollege = TAdminPositionsCollege;
    }

    public void setTAcademicPositionsCollege(String TAcademicPositionsCollege) {
        this.TAcademicPositionsCollege = TAcademicPositionsCollege;
    }

    public void setTRemark(String TRemark) {
        this.TRemark = TRemark;
    }
}
